package cn.xiaoliu.org.mapper;

import cn.xiaoliu.basic.mapper.BaseMapper;
import cn.xiaoliu.org.domain.Department;
import cn.xiaoliu.org.query.DepartmentQuery;

import java.util.List;

/**
 * 部门数据库操作接口
 */
public interface DepartmentMapper extends BaseMapper<Department>{
    //1.基础的crud通过继承获取

    //2.扩展的方法需要自己写
    //查询部门一二级树
    List<Department> loadDeptTree();
}
